﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using  PI_CS_Library.Virtual_Network_Information_Model;
using PI_CS_Tools;

namespace  PI_CS_Library
{
    public class VirtualNetworkOperatorInfo
    {
        Identification _id;
        string _login;
        Dictionary<int, VirtualNetwork> _networks;
        Dictionary<int, NetworkCoefficients> _factors;

        public VirtualNetworkOperatorInfo(string _login, int _idNumber)
        {
            this._login = _login;
            _id = new Identification(_idNumber, "VNO");
            _networks = new Dictionary<int, VirtualNetwork>();
            _factors = new Dictionary<int, NetworkCoefficients>();
        }

        public Identification Id
        {
            get { return this._id; }
            set { this._id = value; }
        }

        public string Login
        {
            get { return this._login; }
            set { this._login = value; }
        }

        public Dictionary<int, VirtualNetwork> Networks
        {
            get { return this._networks; }
            set { this._networks = value; }
        }

        public Dictionary<int, NetworkCoefficients> Factors
        {
            get { return this._factors; }
            set { this._factors = value; }
        }

        public override string ToString()
        {
            return _login;
        }
    }
}
